package com.laowang.project.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 商品参数对象 my_goods_params
 *
 * @author laowang
 * @date 2023-07-20
 */
@NoArgsConstructor
@Data
public class MyGoodsParams implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 参数名称
     */
    @Excel(name = "参数名称")
    @ApiModelProperty(value = "参数名称", required = false)
    private String name;

    /**
     * 参数值
     */
    @Excel(name = "参数值")
    @ApiModelProperty(value = "参数值", required = false)
    private String key;

    /**
     * 参数类型，text文本框，radio单选，checkbox复选框
     */
    @Excel(name = "参数类型，text文本框，radio单选，checkbox复选框")
    @ApiModelProperty(value = "参数类型，text文本框，radio单选，checkbox复选框", required = false)
    private String type;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间", required = false)
    private Date ctime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间", required = false)
    private Date utime;


}
